<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/wslds-tags" prefix="lds"%>
<lds:html>
<lds:head>
	<lds:headFCKSource />
	<lds:headHighlightSource />
	<title>
		${ articleExt.title }
	</title>
</lds:head>
<lds:body>
	<div class="content_block">
		<div class="content_title">日志</div>
		<div class="clear"></div>
		<div class="content_content">
			<div class="log_block">
				<lds:neighbourArticle neighbourList="${neiList }" >
				<div class="log_date"></div>
				<div class="log_title">${ articleExt.title }</div>
				<div class="log_type">
					<label> 文章分类： </label> <span class="padding-right"> <lds:createLink action="list" paramsStr="articleExt.types=${ articleExt.type.id }" name="${ articleExt.type.name }" /> <label>
							标签： </label> 
						<c:forEach var="tag" items="${ articleExt.tagList }">
							<span class="padding-right tag-color" > <lds:createLink action="list" paramsStr="articleExt.tags=${tag.tagId }" name="${tag.name }" />
							</span>
						</c:forEach>
				</div>
				<div class="log_content">${ articleExt.content }</div>
				<div class="log_foot">
					<div></div>
					<div>评论（）</div>
				</div>
				<div class="clear"></div>
				</lds:neighbourArticle>
			</div>
		</div>
		<div class="clear"></div>
		<div class="content_blank"></div>
	</div>
	<div class="comment_block" id="comment">
		<a class="anchorLink" id="review_anchor" href="#myReviewAnchor"></a> <a id="firstReview" name="firstReview">&nbsp;</a>
		<div class="review_title" id="reviewClick">
			<a>评论<span>——想评论，点我</span>
			</a>
		</div>
		<div class="clear"></div>
		<div class="content_content" id="reviewContent"></div>
		<a id="myReviewAnchor" name="myReviewAnchor">&nbsp;</a>
		<div class="clear"></div>
		<div class="content_blank"></div>
		<div class="content_content" id="reviewDiv">
			<form action="<lds:linkTo contextPath="${contextPath }" prefix="admin" controller="review" action="save" />" method="post" id="reviewForm">
				<input type="hidden" value="${articleExt.id}" name="instance.article.id" id="article_id" /> <input type="hidden" value="" name="url" id="url" />
				<div class="content_row">
					<div class="title" id="question" style="color: red"></div>
					<div class="data">
						<input id="answer" type="text" class="inputNormal" tipsLoc="right" title="解答左边的简单的问题就可以评论咯" needFocus="needFocus" value="" maxlength="27" /> &nbsp;
					</div>
				</div>
				<div class="content_row">
					<div class="title">尊姓大名</div>
					<div class="data">
						<input type="text" class="inputNormal" tipsLoc="right" title="给力就填一点" needFocus="needFocus" name="instance.name" value="${ accessName }" maxlength="10" /> &nbsp;
					</div>
					<div></div>
				</div>
				<div class="content_row">
					<div class="title">邮来邮去</div>
					<div class="data">
						<input type="text" class="inputNormal" tipsLoc="right" title="我会替你保密" needFocus="needFocus" name="instance.email" value="" maxlength="37" /> &nbsp;
					</div>
					<div></div>
				</div>
				<div class="content_row">
					<div class="title">网络住址</div>
					<div class="data">
						<input type="text" class="inputNormal" tipsLoc="right" title="格式如: www.wslds.com,无需http://" needFocus="needFocus" name="instance.webSite" value="" maxlength="37" />
						&nbsp;
					</div>
					<div></div>
				</div>
				<div class="content_textarea">
					<div class="title">主要内容</div>
					<div class="data">
						<textarea class="inputNormal" tipsLoc="top" id="main_content" style="height: 98px;" title="内容最多只能15行" cols="30" rows="4" name="instance.content" needFocus="needFocus"></textarea>
					</div>
					<div class="smile">
						<c:forEach begin="1" end="20" var="index">
							<div class=" smileCommon smile${index }" smile="${index }"></div>
						</c:forEach>
					</div>
				</div>
				<div>
					<input type="button" value="提交" id="choose" /> <span></span>
				</div>
			</form>
		</div>
	</div>
</lds:body>
</lds:html>
